class object_editor:
    def __init__(mainobj):
        self.object = None
        self.wTree = wTree
    def set_object(obj):
        self.object = obj
        self.wTree.get_widget("txt_obj_name").set_text(self.obj.name)
